#include "Nanna.h"

#include <iostream>
using namespace std;

void Nanna::draw() {
         glColor3f(1,0,0);
         glBegin(GL_QUADS);
         glVertex3f(this->getX(), this->getY(), 0);
         glVertex3f(this->getX() + this->getLargura(), this->getY(), 0);
         glVertex3f(this->getX() + this->getLargura(), this->getY() + this->getAltura(), 0);
         glVertex3f(this->getX(), this->getY() + this->getAltura(), 0);
         glEnd();
}


